﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WsdShop.IService;
using WsdShop.Model;

namespace WsdShop.Service
{
    public class UserGroupRoleService : IUserGroupRoleService
    {
        public List<UserGroupRole> GetByGroupId(int groupId)
        {
            return BaseService.LoadEntities<UserGroupRole>(m => m.UserGroupId == groupId);
        }
    }
}
